/*
** EPITECH PROJECT, 2018
** MY_IRC
** File description:
** my_irc server global variables
** for commands settings see methodsXX.c files
*/

#include "../include/server.h"

/** The 2D array containing the handled commands strings for comparison  */
const char *G_PROTOS[REF_NB] = {
	"JOIN", "NICK", "PING", "USER", "QUIT", "PRIVMSG",
	NULL
};

/** The functions pointers for the various RFC commands handlers */
const cmds G_CMDS[REF_NB] = {
	join, nick, ping, user, quit, privmsg,
	NULL
};
